package com.lhy.dao;

import com.lhy.domain.Registerorder;
import com.lhy.utils.Pagination;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 汪
 */
@Repository
public interface RegisterorderDao {
    /**
     * 展示所有
     * @return
     */
    List<Registerorder> showAllRegisterorder();

    /**
     * 删除
     * @param roId
     */
    void deleteRegisterorder(Integer roId);

    /**
     * 添加
     * @param registerorder
     */
    void addRegisterorder(Registerorder registerorder);

    /**
     * 精确查询
     * @param registerorder
     * @return
     */
    List<Registerorder> findSomeRegisterorder(Pagination<Registerorder> page);
}
